from fastapi import APIRouter

# 创建一个 APIRouter 实例
router = APIRouter()

@router.get('/product')
def detail():
	return {"id":"45874f5s7w8qewqr12","name":"商品详情"}


@router.get('/more')
def all_user():
	return [
		{"id": "45874f5s7w8qewqr12", "name": "商品详情1"},
		{"id": "45874f5s7w8qewqr12", "name": "商品详情2"}
	]